<?php
/**
 * 保险管理验证器
 */

namespace app\common\validate;

class InsureValidate extends Validate
{
    protected $rule = [
            'insure|保险名字' => 'require',
    'status|是否启用' => 'require',

    ];

    protected $message = [
            'insure.require' => '保险名字不能为空',
    'status.require' => '是否启用不能为空',

    ];

    protected $scene = [
        'add'  => ['insure','status',],
'edit' => ['insure','status',],

    ];

    

}
